package com.hzj.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;

@SpringBootApplication
@EnableEurekaClient//添加注解后，项目启动会自动注册到注册到Eureka中心
public class Proivder_8002 {
    public static void main(String[] args) {
        SpringApplication.run(Proivder_8002.class, args);
    }
}
